﻿using AutoMapper;
using B.S.BaseData.Domain;
using B.S.BaseData.ErrorCode;
using B.S.BaseData.Infrastructure;
using B.S.BaseData.Read.API.Dtos;
using MediatR;

namespace B.S.BaseData.Read.API.Application.Command
{
    /// <summary>
    /// 商品信息查询命令
    /// </summary>
    public class GoodsInfoQueryCommand : IRequest<ApiResult<ApiPaging<GoodsDTO>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Production { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public int Gid { get; set; }
    }
}
